package com.terra;

import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebView;

public class WebViewer extends Activity {

	WebView webview;
	Bundle b;
	
	  @Override
	  public void onCreate(Bundle savedInstanceState) {
	    super.onCreate(savedInstanceState);

        /** Design the dialog in main.xml file */
        setContentView(R.layout.webview);
		b = getIntent().getExtras();
		
        webview =  (WebView) findViewById(R.id.webView);
        webview.getSettings().setJavaScriptEnabled(true);
		webview.loadUrl("file://"+Globals.strLocalHTMLPath+b.getString("TCID")+".html");
    }
}
